import { post } from '@/api/http'

// 列表查询
export const getList = (data) => post({ url: '/orderFee/pageList', data })

// 获取页面统计数量
export const getNums = (data) => post({ url: '/orderFee/findStatistics', data })

// 详情
export const getDetail = (data) => post({ url: '/orderFee/detail', data })

// 去确认 - 详情
export const toConfirmDetail = (data) => post({ url: '/orderFee/toConfirm', data })

// 确认
export const feeSubmit = (data) => post({ url: '/orderFee/confirm', data })

// 获取批量确认的金额
export const getBatchCost = (data) => post({ url: '/orderRecord/getRecordIdByList', data })

/**
 * @description: 驳回
 * @param data
 * @return Promise
 */
export const reject = (data) => post({ url: '/orderRecord/reject', data })

// 批量添加 资产费用
export const batchAddCarAssetFee = (data) => post({ url: '/carAssetFee/batchAddCarAssetFee', data })

// 查询（保养/维修/年检详情）（费用信息详情）
export const getCarAssetFeeByBusinesId = (data) => post({ url: '/carAssetFee/getCarAssetFeeByBusinesId', data })

// 确认费用时获取详情
export const getConfirmDetails = (data) => post({ url: '/carAssetFee/toConfirm', data })

// 确认费用-确认
export const confirmOrderFee = (data) => post({ url: '/carAssetFee/confirmOrderFee', data })

// 供应商选择
export const getSupplier = (data) => post({ url: '/supplier/findList', data })

// 查询费用（小）细项
export const getCarAssetFeeDetailDtoById = (data) => post({ url: '/carAssetFee/getCarAssetFeeDetailDtoById', data })

// 批量修改 删除（保养.年检.维修）
export const batchUpdateCarAssetFee = (data) => post({ url: '/carAssetFee/batchUpdateCarAssetFee', data })

// 运维列表
export const getOperationsBillPageList = (data) => post({ url: '/carAssetFee/getOperationsBillPageList', data })

// 运维数量统计
export const getOperationsBillStatistics = (data) => post({ url: '/carAssetFee/getOperationsBillStatistics', data })

// 运维导出
export const exportOperationsBillExcel = (data) => post({ url: '/carAssetFee/exportOperationsBillExcel', data })

// 运维账单详情
export const getBillingDetails = (data) => post({ url: '/carAssetFee/getBillingDetails', data })

// 运维费用列表
export const getOperationsCostPageList = (data) => post({ url: '/carAssetFee/getOperationsCostPageList', data })

// 运维费用列表 导出
export const exportOperationsCostExcel = (data) => post({ url: '/carAssetFee/exportOperationsCostExcel', data })

// 运维费用列表 统计
export const getOperationsCostStatistics = (data) => post({ url: '/carAssetFee/getOperationsCostStatistics', data })

// 违章详情 (获取费用列表用)
export const getViolationDetail = (data) => post({ url: '/violation/detail', data })

// 违章 添加费用
export const getViolationFeeAdd = (data) => post({ url: '/violation/fee/add', data })

// 违章 单条费用详情
export const getViolationFeeInfo = (data) => post({ url: '/violation/fee/info', data })

// 违章 单条费用修改
export const getViolationFeeEdit = (data) => post({ url: '/violation/fee/edit', data })

// 违章 费用列表
export const getViolationFeeList = (data) => post({ url: '/violation/fee/list', data })

// 违章 费用列表导出
export const violationExportExcel = (data) => post({ url: '/violation/fee/exportExcel', data })

// 违章 费用月统计
export const violationFeeMonthCount = (data) => post({ url: '/violation/fee/monthCount', data })

// 违章 账单列表
export const getViolationBillList = (data) => post({ url: '/violation/bill/list', data })

// 违章 违章账单列表统计
export const getViolationBillListStatic = (data) => post({ url: '/violation/bill/count', data })

// 违章 账单详情
export const getViolationBillInfo = (data) => post({ url: '/violation/bill/info', data })

// 违章 获取进入确认费用页面数据
export const feetoConfirm = (data) => post({ url: '/violation/fee/toConfirm', data })

// 违章 确认费用
export const violationToConfirm = (data) => post({ url: '/violation/fee/confirm', data })
// 长租费用列表查询
export const getLongList = (data) => post({ url: '/czsOrderFee/pageList', data })

// 长租费用详情
export const getLongDetail = (data) => post({ url: '/czsOrderFee/detail', data })

// 长租修改费用
export const editLongFee = (data) => post({ url: '/czsOrderFee/modify', data })

// 长租确认费用
export const feeLongSubmit = (data) => post({ url: '/czsOrderFee/confirm', data })

// 长租费用详情多条
export const selectByIdList = (data) => post({ url: '/czsOrderFee/selectByIdList', data })

// 长租获取页面统计数量
export const getLongNums = (data) => post({ url: '/czsOrderFee/findStatistics', data })

// 长租确认
export const confirmLongFee = (data) => post({ url: '/czsOrderFee/toConfirm', data })

// 批量确认校验
export const checkManyToConfirm = (data) => post({ url: '/carAssetFee/checkManyToConfirmMaintainable', data })
